WindowCurrent FUNCTION Action Returns an integer that is the handle number of the current window. Syntax variablename% = WindowCurrent Remarks The argument variablename% is any BASIC variable name, including the name of a record variable or record element. Use WindowCurrent anywhere you need the number of the current window as an argument for other window procedures (for example, WindowClose and WindowCurrent). See Also. WindowSetCurrent Example See the DemoWindow procedure in the code example UIDEMO.BAS for a specific usage example.